<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>基本信息</title>
    <link href="css/base.css" rel="stylesheet">
    <link rel="stylesheet" href="jquery-easyui-1.5.3/themes/default/easyui.css">
    <link href="jquery-easyui-1.5.3/themes/icon.css" rel="stylesheet">
    <link href="css/basic_info.css" rel="stylesheet">
    <link rel="stylesheet" href="css/xk.css">
    <script type="text/javascript" src="font_jjkmvgsdpk/iconfont.js"></script>
    <link rel="stylesheet" href="font_jjkmvgsdpk/iconfont.css">
    <link href="css/process.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="xk_submit" style="height: 24px;background-color: #eeeeee;bottom: 0;left: 0;right: 0; position: fixed;text-align: center;">
        <button class="easyui-linkbutton" onclick="edit_fkxc_readonly()" type="button" iconCls="icon-edit" style="height: 24px;margin-left: 5px;">修改</button>
    </div>
    <div class="content">
        <form>
            <div class="column"><span class="current">复勘信息</span></div>
            <table class="xk_table">
                <tr>
                    <td class="xk_label" colspan="6">勘验号:K5000000000002019040009</td>
                </tr>
                <tr>
                    <td class="xk_label">勘验时间<font>*</font></td>
                    <td class="td_input"></td>
                    <td class="xk_label">勘验时间<font>*</font></td>
                    <td class="td_input" colspan="3"></td>
                </tr>
                <tr>
                    <td class="xk_label">勘验地点<font>*</font></td>
                    <td class="td_input" colspan="5">
                </tr>
                <tr>
                    <td class="xk_label">天气状况<font>*</font></td>
                    <td class="td_input"></td>
                    <td class="xk_label">温度<font>*</font></td>
                    <td class="td_input"></td>
                    <td class="xk_label">相对湿度<font>*</font></td>
                    <td class="td_input"></td>
                </tr>
                <tr>
                    <td class="xk_label">风向<font>*</font></td>
                    <td class="td_input"></td>
                    <td class="xk_label">光照条件<font>*</font></td>
                    <td class="td_input"></td>
                    <td colspan="2"></td>
                </tr>
                <tr>
                    <td class="xk_label">现场条件<font>*</font></td>
                    <td class="td_input" colspan="5">
                </tr>
                <tr>
                    <td class="xk_label_textarea02">勘验检查情况<font>*</font></td>
                    <td colspan="5"></td>
                </tr>
                <tr>
                    <td class="xk_label">录像<font>*</font></td>
                    <td class="td_input"></td>
                    <td class="xk_label">录音<font>*</font></td>
                    <td class="td_input"></td>
                    <td colspan="2"></td>
                </tr>
                <tr>
                    <td class="xk_label_textarea">现场遗留物<font>*</font></td>
                    <td colspan="5"></td>
                </tr>
                <tr>
                    <td class="xk_label">现场处置意见<font>*</font></td>
                    <td colspan="5"></td>
                </tr>
                <tr>
                    <td class="xk_label">现场指挥人员<font>*</font></td>
                    <td class="td_input"></td>
                    <td class="xk_label">勘验检查人员<font>*</font></td>
                    <td class="td_input"></td>
                    <td class="xk_label">其他到达现场人员<font>*</font></td>
                    <td class="td_input"></td>
                </tr>
                <tr>
                    <td class="xk_label_L">见证人<font>*</font></td>
                    <td colspan="5">
                    </td>
                </tr>
                <tr>
                    <td colspan="6">
                        <table class="xk_table02" id="jzr_table" style="margin-top: 0;">
                            <tr>
                                <th class="xk_label" style="width: 1.6%;">序号</th>
                                <th class="xk_label">姓名</th>
                                <th class="xk_label">性别</th>
                                <th class="xk_label">出生日期</th>
                                <th class="xk_label">单位住址</th>
                            </tr>
                            <tbody id="add_jzr_tr">

                            </tbody>
                        </table>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
</body>
<script type="text/javascript" src="jquery-easyui-1.5.3/jquery.min.js"></script>
<script type="text/javascript" src="jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
<script type="text/javascript">
    $("input[name='xctj_radio']").change(function(){
        var val=$(this).attr("value");
        if(val=="2"){
            $("#BDYYTD").attr("style","");
        }else if(val=="1"){
            $("#BDYYTD").attr("style","display: none");
            $("input[name='xctj_checkbox']").removeAttr("checked");
            $("#BDYYDESC").val("");
        }
    });
    var jzr = 0;
    $("#jzr_add_btn").click(function(){
        var jzr_tr_num = ++jzr;
        $("#add_jzr_tr").append("<tr id='"+jzr_tr_num+"'>"+
            "<th class='' style='width: 1.6%;'><input type='text' readonly='readonly' class='xk_input04' value='"+jzr_tr_num+"'></th>"+
            "<th class=''><input type='text' readonly='readonly' class='xk_input04' name=''></th>"+
            "<th class=''>"+
            "<input type='text' readonly='readonly' class='xk_input04' name=''>"+
            "</th>"+
            "<th class=''><input readonly='readonly' type='text' class='xk_input04' name=''></th>"+
            "<th class=''><input readonly='readonly' type='text' class='xk_input04' name=''></th>"+
            "</tr>");
        $.parser.parse("#jzr_table");
    });
    //删除一行见证人
    function jzr_tr_del(obj){
        //控制序号
        var count = $("#jzr_table").find("tr").length-1;
        //得到当前所在行
        var rows = obj.parentNode.parentNode.rowIndex;
        obj.parentNode.parentNode.remove();
        jzr--;
        if(rows <= count){
            for(var i = rows;i<=count;i++){
                var j = i-1;
                var val =$("#jzr_table tr:gt("+j+") th:eq(0)").find("input").first().val();
                var cou = val - 1;
                $("#jzr_table tr:gt("+j+") th:eq(0)").find("input").first().val(cou);
            }
        }
    }
function edit_fkxc_readonly() {
    window.location.href="fkxc";
}
</script>
</html>